package dao

import "time"

type Setting struct {
	ID        uint   `gorm:"primarykey"`
	Name      string `gorm:"unique;not null"`
	Type      string `gorm:"not null"`
	Value     string
	CreatedAt time.Time
	UpdatedAt time.Time
}

func (t *Setting) TableName() string {
	return "setting"
}
